package com.itheima.service.db;

import com.itheima.domain.PmsBrand;
import com.itheima.vo.PageBeanVo;

import java.util.List;

public interface PmsBrandService {


    PageBeanVo findByPage(Integer pageNum, Integer pageSize, String keyword);

    Boolean addBrand(PmsBrand pmsBrand);

    void deleteBrands(List<Long> ids);

    List<PmsBrand> findAllBrand();

    void updateFactoryStatus(Integer factoryStatus, List<Long> ids);

    void updateShowStatus(Integer showStatus, List<Long> ids);

    Boolean updateBrandById(PmsBrand pmsBrandParam);

    PmsBrand findBrandById(Long id);
}
